<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @font-face {
            font-family: 'icomoon';
            src: url('fonts/icomoon.eot?li3yay');
            src: url('fonts/icomoon.eot?li3yay#iefix') format('embedded-opentype'),
                url('fonts/icomoon.ttf?li3yay') format('truetype'),
                url('fonts/icomoon.woff?li3yay') format('woff'),
                url('fonts/icomoon.svg?li3yay#icomoon') format('svg');
            font-weight: normal;
            font-style: normal;
            font-display: block;
        }

        .fangzi {
            width: 36px;
            height: 36px;
            background-color: #fff;
            font-family: 'icomoon';
            border: 0px solid salmon;
            text-align: center;
            line-height: 36px;
            font-size: 36px;
            margin: 300px auto;
            color: sandybrown;
            overflow: hidden;


        }

        .fangzi::after {
            content: '' '';
            right: 0px;
            transition: all 2s ease-out .5s;

        }

        .fangzi:hover::after {
            position: relative;
            right: 36px;
        }

        * {
            margin: 0px;
            padding: 0px;
        }
    </style>
</head>

<body>
    <div>
        <section class="fangzi">

        </section>
        <section class="xiaomi"></section>
    </div>
</body>

</html>